package io.github.wppli.domain.recommond.repository;

import io.github.wppli.domain.recommond.model.entity.UserBehaviorEntity;
import org.apache.mahout.cf.taste.model.DataModel;

import java.util.List;

/**
 * 用户行为仓储
 * @author li--jiaqiang 2025−03−12
 */
public interface IUserBehaviorRepository {

    List<UserBehaviorEntity> queryByUserId(Long userId);

    List<UserBehaviorEntity> findAll();

    List<UserBehaviorEntity> findAllWithPagination(int batchSize, int offset);

    void save(UserBehaviorEntity userBehaviorEntity);
}